//
//  EditGroupUser.h
//  Bespoke
//
//  Created by Cheng on 12/9/13.
//
//

#import <UIKit/UIKit.h>
#import "AccountGroup.h"
#import "GroupUserCell.h"
#import "BK_Enviroment.h"

@protocol EditGroupUserDelegate

-(void) uiViewTouched:(BOOL)wasInSide;
-(void) MoveShareCircles:(AccountGroup *)AG_SelectedGroup Action:(NSString *)CheckStatus;

@end

@interface EditGroupUser : UIView<UITextFieldDelegate>
{
    IBOutlet UITextField *Tf_GroupName;
    IBOutlet UIButton *Bt_AddAnotherUser;
    IBOutlet UIButton *Bt_SaveMyGroup;
    IBOutlet UIButton *Bt_DeleteMyGroup;
    IBOutlet UIButton *Bt_Cancel;
    IBOutlet UIScrollView *SV_Main;
}

@property (nonatomic, strong) UITextField *Tf_GroupName;
@property (nonatomic, strong) UIButton *Bt_AddAnotherUser;
@property (nonatomic, strong) UIButton *Bt_SaveMyGroup;
@property (nonatomic, strong) UIButton *Bt_DeleteMyGroup;
@property (nonatomic, strong) UIButton *Bt_Cancel;
@property (nonatomic, strong) UIScrollView *SV_Main;
@property (nonatomic, strong) GroupUserCell *Vw_GroupUserCell;
@property (nonatomic, strong) AccountGroup *AG_Group;
@property (nonatomic, strong) BK_Enviroment *BK_En_object;
@property (nonatomic, weak) id <EditGroupUserDelegate> delegate;

- (void)EditGroupUser:(AccountGroup *)AccountGroup;
- (IBAction)AddAnotherUser:(id)sender;
- (IBAction)DeleteMyGroup:(id)sender;
- (IBAction)CloseEditGroupUser:(id)sender;
- (IBAction)SaveMyGroup:(id)sender;

@end
